"""staticdemmo URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path,re_path
from .views import *
from app01.views import *

urlpatterns = [
    path('admin/', admin.site.urls),
    path('base/', base),
    path('index/', index),
    path('store/', store),
    path('goods/', goods),
    path('orders/', orders),
    re_path('birthday/(?P<month>\d{1,12})/(?P<day>\d{1,28})/', birthday),
    path('statistics_goods/', statistics_goods),
    path('statistics_orders/', statistics_orders),
    # path('addcode/', addcode),
    # path('getcode/', getcode),
    # path('updatecode/', updatecode),
    # path('deletecode/', deletecode),
    path('add_storeuser/', add_storeuser),
    path('get_storeuser/', get_storeuser),
    path('ontomany/', ontomany),
    path('manytomany/', manytomany),
    path('bookstore/', bookstore),
]
